﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Zzva.DomainObject
{
    public class TEqualityComparerDirBase : EqualityComparer<TDirBase>
    {
        public override bool Equals(TDirBase x, TDirBase y)
        {if (x.Obozn == y.Obozn) { return true; } else { return false; }}

        public override int GetHashCode(TDirBase obj)
        { return obj.Obozn.GetHashCode(); }

    }
}
